package com.ruoyi.project.business.timeperiod.service;

import com.ruoyi.project.business.timeperiod.entity.TimePeriod;
import com.ruoyi.project.business.timeperiod.request.AddTimePeriodRequest;
import com.ruoyi.project.business.timeperiod.request.ListTimePeriodRequest;
import com.ruoyi.project.business.timeperiod.response.TimePeriodResponse;

import java.util.List;

/**
 * 工作站Service接口
 * 
 * @author ${author}
 * @date 2024-04-01
 */
public interface ITimePeriodService {
    /**
     * 查询工作站
     *
     * @param id 工作站ID
     * @return 工作站
     */
    public TimePeriod selectTimePeriodById(Long id);

    /**
     */
    public List<TimePeriodResponse> selectTimePeriodList(ListTimePeriodRequest request, Long tenantId);


    public int insertTimePeriod(AddTimePeriodRequest request, Long operatorId, Long tenantId);

    /**
     * 修改工作站
     * 
     * @return 结果
     */
    public int updateTimePeriod(TimePeriod entity, Long operatorId, Long tenantId);

    /**
     * 批量删除工作站
     * 
     * @return 结果
     */
    public int deleteTimePeriodByIds(Long[] ids, Long operatorId, Long tenantId);

    /**
     * 删除工作站信息
     * 
     * @return 结果
     */
    public int deleteTimePeriodById(Long id, Long operatorId, Long tenantId);
}
